package com.lmm.lcbusiness.lcbusiness.pages.richtxt;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;

/**
 * Created by xmgong on 2017/5/25.
 * 富文本数据model
 */

public class RichTxtModel implements MultiItemEntity, Serializable {
    public static final int RichType_Txt = 1;//文字
    public static final int RichType_Image = 2;//图片
    public static final int RichType_Video = 3;//视频
    public static final int RichType_Shop = 4;//店铺
    public static final int RichType_Ticket = 5;//卡券


    private String RichValue = "";
    private int RichType;

    public String getRichValue() {
        return RichValue;
    }

    public void setRichValue(String richValue) {
        RichValue = richValue;
    }

    public int getRichType() {
        return RichType;
    }

    public void setRichType(int richType) {
        RichType = richType;
    }

    @Override
    public int getItemType() {
        return RichType;
    }


    @Override
    public String toString() {
        return RichType + "//" + RichValue;
    }
}
